package br.com.sales.hancadso.client.presenter.values;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
import br.com.sales.hancadso.client.presenter.HanCadSOPresenter;
import com.google.inject.Inject;

/**
 *
 * @author v
 */
public class ControlValues {

    @Inject
    public ControlValues() {
    }

    public void clearFields(HanCadSOPresenter.Display container) {
        container.getCountEdit().setText(null);
        container.getDateEdit().setText(null);
        container.getNewProductComplete().setValue(null);
        container.getRequesterComplete().setValue(null);
        container.clearGrid();
    }
}
